package com.ztgf.commodity.models.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ztgf.common.annotations.CustomerBigDecimalSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/*
 * @author: chenyu.wang
 * @date: 2020-08-31
 * @description:商品导出VO
 */
@Data
public class CommodityExportVO implements Serializable {

    @ApiModelProperty(value = "商品编号")
    private String goodsNum;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "规格名称")
    private String specificationName;

    @ApiModelProperty(value = "规格价格")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal goodsPrice;

}
